<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html";charset="UTF-8" />
	<title>网站风格设置</title>
	<css file='__PUBLIC__/css/config.css'/>
	<jquery/>
	<js file='__PUBLIC__/js/config.js'/>
</head>
<body>
	<div class='tit'>
		<ul>
			<li class='selected'>基本设置</li>
			<li>网站开关</li>
		</ul>
	</div>
	<div class='setting_wrap'>
		<!-- 基本设置begin -->
		<div class='setting_list show'>
			<form action="{|U('editconfig')}" method='post'>
				<!--模板风格 -->
				<input type="hidden" name="{$tpl_config.name}" value="{$tpl_config.value}"/>
				<div class='setting'>
					<table class='table3'>
					<list from="$base_config" name="$n">
			            <tr>
			            	<th width='10%'>{$n.title}</th>
			            	<td>
			            	<if value="$n.name=='flag'">
			            		开<input type='radio' name='flag' value='1' <if value="$n['value']==1">checked</if>/>
			            		关<input type='radio' name='flag' value='0' <if value="$n['value']==0">checked</if>/>
			            	<else>
			            		<input type="text" class="input3" name="{$n.name}" value="{$n.value}"/>
			                	<span class="desc">{$n.message}</span>
			            	</if>
			            	<td>
			            </tr>
			        </list>
					</table>
				</div>
				<!---模板风格-->
				<div class='tpl_style'>
					<h3>模板风格</h3>
					<ul>
					<list from="$tpl_styles" name="t">
						<li tplstyle="{$t.style}" <if value="$t.style==$tpl_config.value"> class='select'</if>>
			                <a href="javascript:void(0);">
			                    <img src="{$t.short|default:$defaultjpg}"/>
			                </a>
			                <p>
			                    <a href="javascript:void(0);">{$t.name|default:"未命名"}</a>
			                </p>
			                <p>
			                	<span>{$t.author|default:"EasyCMS"}</span>
			                </p>
			                <p>
			                	<span>{$t.email|default:"EasyCMS@gmail.com"}</span>
			                </p>
			            </li>
			        </list>
					</ul>
				</div>
				<div class='tijiao'>
					<input type='submit' value='修改' class='bt1'/>
				</div>
			</form>
		</div>
		<!-- 基本设置结束 -->
		<div class='setting_list'>
			222222222222222
		</div>
	</div>
</body>
</html>